package com.whc.gulimall.product.dao;

import com.whc.gulimall.product.entity.CategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whc.gulimall.product.vo.CategoryPathDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * 商品三级分类
 *
 * @author wanghaochen
 * @email angaoen@outlook.com
 * @date 2022-03-05 00:18:53
 */
@Mapper
public interface CategoryDao extends BaseMapper<CategoryEntity> {


    CategoryPathDto getCategoryPathById(@Param("catelogId") Long catelogId);
}
